package com.joycessh.dao;

import java.sql.SQLException;

import com.joycessh.vo.LoginVO;
import com.joycessh.vo.RegisterVO;

public interface UserDao {
	/**
	 * @author joycessh
	 */
	
	public boolean insertUser(RegisterVO user) throws SQLException;
	public boolean isUsernameExist(String username) throws SQLException;
	public boolean checkUser(LoginVO user) throws SQLException;
	public boolean updatePassword(String username, String oldPassword, String newPassword) throws SQLException;
}
